Gets a client view of entities loaded using a given query.
Namespace:
C1.Silverlight.Data.RiaServicesAssembly: C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)
Syntax
C# |
---|
public ClientView<T> GetItems<T>( EntityQuery<T> query ) where T : Entity |
Visual Basic |
---|
Public Function GetItems(Of T As Entity) ( _ query As EntityQuery(Of T) _ ) As ClientView(Of T) |
Parameters
- query
- Type: EntityQuery<(Of <(<'T>)>)>
The query used to load entities.
Type Parameters
- T
- The type of entities returned by the query.
Return Value
A client view of entities loaded by the specified query.Remarks
The query must not be changed after using this method.